<div class="container shadow px-5 w-auto" id="user-email" xmlns:th="http://www.thymeleaf.org"
     xmlns="http://www.w3.org/1999/html">
        <div th:replace="user/modal/email.html"></div>
    <div class="row">
        <h2 class="placeholder">修改邮箱</h2>
        <form id="user-card-email-form-first">
            <div class="row g-3 d-inline mt-0">
                <div class="col-auto mt-0">
                    <label for="user-card-email-form-first-email" class="col-form-label placeholder">请输入旧的邮箱</label>
                </div>
                <div class="col-auto">
                    <input name="email" type="text" id="user-card-email-form-first-email" class="form-control placeholder">
                    <div class="valid-feedback">
                        提示: 格式正确!
                    </div>
                    <div id="user-card-email-form-first-email-fail" class="invalid-feedback">
                        提示: 邮箱格式错误
                    </div>
                </div>
            </div>

            <div class="row g-3">
                <div class="col-auto">
                    <button id="user-card-email-sendCaptchaFirst" class="btn btn-primary placeholder"
                            onclick="sendCaptchaFirst('user-card-email-sendCaptchaFirst')" type="button">
                        发送验证码
                    </button>
                    <label for="user-card-password-form-captcha" class="col-form-label">验证码</label>
                </div>
                <div class="col-auto">
                    <input name="captcha" type="password" id="user-card-password-form-captcha" class="form-control">
                    <div class="valid-feedback placeholder">
                        提示: 格式正确!
                    </div>
                    <div id="user-card-password-form-captcha-fail" class="invalid-feedback">
                        提示: 第二次输入的密码不一致
                    </div>
                </div>
            </div>
        </form>
        <div class="text-center">
            <button id="user-card-email-form-save-first" class="btn btn-primary w-50 mx-auto mt-5 mb-3 placeholder" onclick="saveUserEmailNext('user-card-email-form-save-first')">下一步</button>
            <button id="user-card-email-open-modal" data-bs-toggle="modal" data-bs-target="#user-modal-email" hidden></button>
        </div>
    </div>

</div>